projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bec7aa
)
vulkan: Add fallback message for node-as-texture
author
Benjamin Otte
<otte@redhat.com>
Tue, 17 Jan 2017 05:38:36 +0000
(06:38 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Tue, 17 Jan 2017 05:38:36 +0000
(06:38 +0100)
This is mainly to motivate me to implement it.
gsk/gskvulkanrenderpass.c
patch
|
blob
|
history
diff --git
a/gsk/gskvulkanrenderpass.c
b/gsk/gskvulkanrenderpass.c
index 619a1172b30c33d3ce9026651f8109838db73a57..4d2d50270f5d41785c5f89b3e8ae2336bb4aeae4 100644
(file)
--- a/
gsk/gskvulkanrenderpass.c
+++ b/
gsk/gskvulkanrenderpass.c
@@
-369,6
+369,10
@@
gsk_vulkan_render_pass_get_node_as_texture (GskVulkanRenderPass *self,
}
}
+ GSK_NOTE (FALLBACK, g_print ("Node as texture not implemented. Using %gx%g fallback surface\n",
+ ceil (bounds->size.width),
+ ceil (bounds->size.height)));
+
/* XXX: We could intersect bounds with clip bounds here */
surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
ceil (bounds->size.width),